package com.erp.erp_servers.Customer2Log.imp;

import com.erp.erp_dao.Customer2Log.ICustomer2LogDAO;
import com.erp.erp_entitys.Customer2Log.Customer2LogEntity;
import com.erp.erp_entitys.Customer2Log.Customer2LogExample;
import com.erp.erp_servers.Customer2Log.ICustomer2LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ImpCustomerLogService
 * @Description TODO
 * @Author songjizhen
 * @Date 2020-06-29 20:05
 * @Version 1.0
 */
@Service
public class ImpCustomer2LogService implements ICustomer2LogService {
    @Autowired
    ICustomer2LogDAO customer2LogDAO;
    @Override
    public int insert(Customer2LogEntity record) {
        return customer2LogDAO.insert(record);
    }

    @Override
    public List<Customer2LogEntity> selectByExample(Customer2LogExample example) {
        return customer2LogDAO.selectByExample(example);
    }
}
